@mixin title_overflow($width:605px) {
    max-width: $width;
    font-family: Microsoft YaHei;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 16px;
    letter-spacing: 0px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #333333;
}

.publish-status-1,
.publish-status0 {
    width: 50px;
    height: 20px;
    padding: 2px 4px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-family: Microsoft YaHei;
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 24px;
    letter-spacing: 0px;
    color: #999999;
}

.publish-status1 {
    width: 50px;
    height: 20px;
    padding: 2px 4px;
    background-color: #e5f5e5;
    border-radius: 4px;
    font-family: Microsoft YaHei;
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 24px;
    letter-spacing: 0px;
    color: #009900;
}

.publish-title {
    cursor: pointer;

    & span:nth-child(1) {
        display: inline-block;
        @include title_overflow(550px);
    }

    & span:nth-child(2) {
        display: inline-block;
        width: 14px;
        height: 14px;
        margin-left: 4px;
        background: url(../../../images/file.png) no-repeat;
        background-size: contain;
    }
}

.publish-name {
    display: inline-block;
    vertical-align: middle;
    @include title_overflow(100px);
}

.publish-date {
    font-family: Microsoft YaHei;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    line-height: 16px;
    letter-spacing: 0px;
    color: #999999;
}

.publish-option {
    & span {
        font-family: MicrosoftYaHei;
        font-size: 14px;
        font-weight: normal;
        font-stretch: normal;
        letter-spacing: 0px;
        cursor: pointer;
    }

    &>i {
        display: inline-block;
        width: 1px;
        height: 10px;
        margin: 0 10px;
        background-color: #d9d9d9;
    }

    .urge-read {
        color: #0099ff;
    }

    .del {
        color: #ef5757;
    }
}

.admin-receive-title {
    display: flex;
    align-items: center;

    .unRead-point {
        display: inline-block;
        width: 5px;
        height: 5px;
        border-radius: 5px;
        background-color: #f64545;
    }

    .title {
        @include title_overflow(605px);
        margin-left: 8px;
        cursor: pointer;
        font-weight: 700;
    }

}

.student-notice-title {
    display: flex;
    align-items: center;

    .unRead-point {
        display: inline-block;
        width: 5px;
        height: 5px;
        border-radius: 5px;
        background-color: #f64545;
    }

    .unRead-point-empty {
        display: inline-block;
        width: 5px;
        height: 5px;
        border-radius: 5px;
        background-color: transparent;
    }

    .todo-source0 {
        margin-left: 8px;
        padding: 3px 5px;
        background-color: #ebf7ff;
        color: #009cff;
        font-size: 12px
    }

    .todo-source1,
    .todo-source2 {
        margin-left: 8px;
        padding: 3px 5px;
        background-color: #f7f7f7;
        color: #999999;
        font-size: 12px
    }

    .title {
        @include title_overflow(605px);
        margin-left: 8px;
    }
}

.receive-option {
    display: flex;
    align-items: center;
}

.divider {
    width: 1px;
    height: 10px;
    margin: 0 10px;
    background-color: #d9d9d9;
}